Atomic structure and the Periodic Table